package nc.ui.am.audpurbudget;

import nc.ui.am.pub.bill.IBillTempleteCode;
import nc.ui.am.selfbtn.ISelfBtnID;
import nc.ui.trade.bill.ICardController;
import nc.ui.trade.bill.ISingleController;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.am.purbudget.PurbudgetVO;
import nc.vo.trade.pub.HYBillVO;

public class AudPurBudgetUICtrl implements ISingleController, ICardController,
		IBillTempleteCode {
	public String getBillType() {

		return IBillTempleteCode.AUDPURBUDGET;
	}

	public String[] getBillVoName() {
		return new String[] { HYBillVO.class.getName(),
				PurbudgetVO.class.getName(), PurbudgetVO.class.getName() };
	}

	public String getBodyCondition() {

		return null;
	}

	public String getBodyZYXKey() {

		return null;
	}

	public int getBusinessActionType() {

		return IBusinessActionType.BD;
	}

	public String getChildPkField() {

		return null;
	}

	public String getHeadZYXKey() {

		return null;
	}

	public String getPkField() {

		return PurbudgetVO.PK_PURBUDGET;
	}

	public Boolean isEditInGoing() throws Exception {

		return null;
	}

	public boolean isExistBillStatus() {

		return false;
	}

	public boolean isLoadCardFormula() {

		return false;
	}

	public boolean isSingleDetail() {

		return true;
	}

	public String[] getCardBodyHideCol() {

		return null;
	}

	public int[] getCardButtonAry() {

		return new int[] { 
				IBillButton.Query, IBillButton.Edit, 
				IBillButton.Save, IBillButton.Cancel,IBillButton.Refresh,
				ISelfBtnID.APPROVAL_BIN,ISelfBtnID.NOAPPROVAL_BIN,
				ISelfBtnID.CANCELAUDIT_BIN,ISelfBtnID.BUDGET_CODE_BIN,
				IBillButton.Print

		};
	}

	public boolean isShowCardRowNo() {

		return true;
	}

	public boolean isShowCardTotal() {

		return true;
	}

}